package com.my.beans;

public class Student extends User {
	private String sno;
	private String sname;
	private String sex;
	private String birthday;
	private String studytime;
	private String phone;
	private String address;
	private String cla;
	public Student(String uname, String pwd, int uright,String sno, String sname, String sex, String birthday, String studytime,String phone, String address,String cla) {
		super(uname, pwd, uright);
		this.sno=sno;
		this.sname = sname;
		this.sex = sex;
		this.birthday = birthday;
		this.studytime=studytime;
		this.phone=phone;
		this.address=address;
		this.cla=cla;
	}

	@Override
	public String toString() {
		return "Student [sno=" + sno+", sname=" + sname + ", sex=" + sex + ", birthday=" + birthday + 
				", phone=" + phone + ", address=" + address + ", class=" + cla + "]";
	}

	public String getSno() {
		return sno;
	}

	public void setSno(String sno) {
		this.sno = sno;
	}

	public String getSname() {
		return sname;
	}

	public void setSname(String sname) {
		this.sname = sname;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getStudytime() {
		return studytime;
	}

	public void setStudytime(String studytime) {
		this.studytime = studytime;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address= address;
	}

	public String getClassno(){
		return cla;
	}

	public void setClassno(String cla) {
		this.cla = cla;
	}

	public Student(){}
}
